<template>
	<view class="order-detail">
		<view class="my-list-detail" v-if="dataobj">
			<view class="ml-item">


				<view class="i-row-title">车辆信息

				</view>
				<view class="i-row">
					<view class="r-title">车牌号：</view>
					<view class="r-it">{{dataobj.plateNum}}<text style="color: red;"
							v-if="dataobj.isRestricted">(限号)</text>
					</view>
				</view>
				<view class="i-row">
					<view class="r-title">驾驶员：</view>
					<view class="r-it">{{dataobj.driverName}}</view>
				</view>
				<view class="i-row">
					<view class="r-title">停靠点：</view>
					<view class="r-it">{{dataobj.simpleDockedAddress}}</view>
				</view>
				<view class="i-row-text">
					<view class="r-title">上一单行程：</view>
					<text :style="dataobj.lastOrderId ?'color:red':''"
						:user-select="true">{{dataobj.lastDetails?dataobj.lastDetails:''}}</text>
				</view>
				<view class="i-row-text">
					<view class="r-title">下一单行程：</view>
					<text :style="dataobj.orderId ?'color:red':''"
						:user-select="true">{{dataobj.nextDetails?dataobj.nextDetails:''}}</text>
				</view>
				<view class="i-row">
					<view class="r-title">最快到达：</view>
					<view class="r-it">{{dataobj.routeTime}}</view>
				</view>
				<view class="i-row">
					<view class="r-title">月用金：</view>
					<view class="r-it">{{dataobj.salaryBalance}}</view>
				</view>
				<view class="i-row">
					<view class="r-title">评分：</view>
					<view class="r-it">{{dataobj.customerScoring}}</view>
				</view>
				<view class="i-row-text">
					<view class="r-title">备注：</view>
					<text :user-select="true">{{dataobj.remark?dataobj.remark:''}}</text>
				</view>
			</view>


		</view>

	</view>
</template>

<script>
	export default {

		data() {
			return {

				// 订单详情
				dataobj: null,
				// 分享按钮样式
				shareBtnSty: {
					'width': '30rpx',
					'height': '30rpx',
					'padding': '0rpx',
					'color': '#ffffff'
				},
			}
		},
		onShow() {

			// #ifdef MP-WEIXIN
			// 隐藏返回首页按钮
			// uni.hideHomeButton();
			// #endif

		},
		onLoad(ps) {
			this.dataobj = uni.getStorageSync('dataobj');
			uni.removeStorageSync('dataobj');
		},
		methods: {






		}
	}
</script>

<style lang="less">
	.order-detail {
		/* #ifdef MP-WEIXIN */
		height: 100vh;
		overflow-y: auto;
		/* #endif */

		background: #efefef;
		padding: 20rpx;
	}
</style>